<?php


class HisCategoryTable extends Doctrine_Table
{

public function getWithItems()
  {
    $q = $this->createQuery('c')
      ->leftJoin('c.HisItems j');
      
 
    return $q->execute();
  }
    
    public static function getInstance()
    {
        return Doctrine_Core::getTable('HisCategory');
    }
}